import IconList from '@/common/IconList'
import mockjs from 'mockjs'
let datalist = [
  {
    id: '横须贺港口',
    name: '横须贺港口',
    iconUrl: IconList.Crosshair,
    baseInfo: {
      position: [113.529231, 34.786612],
      isAreaTarget: true,
      area: {
        areaNum: '123',
        areaUnit: 'm²',
      },
      belongToCountryArea: '123',
      lastModifyUser: 'lqd',
      imgList: [],
      isFixedTarget: true,
      // areaPosition:[],
    },
    catalog: {
      name: '港口',
      id: '港口',
    },
    createDate: mockjs.Random.date(),
    extraInfo: {
      data: {
        meta: {
          url: 'http://192.168.0.167:3001/hengxuhe/tileset.json',
          modelMatrix: [0.6017966506092902, 0.2961723887876526, -0.7417025734317333, 0, 0.3062532485755969, -0.9432808647187582, -0.12818017784480434, 0, -0.7375972742983354, -0.15001042088884226, -0.6583670211761968, 0, 87608.94470246648, 8282537.44192631, 3561840.4806561125, 1]
        },
        data: [
          {
            longitude: 50.524231,
            latitude: 34.781612,
            height: 0,
            time: '2023-6-5',
          },
          {
            longitude: 73.525231,
            latitude: 34.782612,
            height: 0,
            time: '2023-6-9',
          },
          {
            longitude: 93.526231,
            latitude: 34.783612,
            height: 0,
            time: '2023-6-15',
          },
          {
            longitude: 103.527231,
            latitude: 34.784612,
            height: 0,
            time: '2023-6-20',
          },
          {
            longitude: 113.529231,
            latitude: 34.786612,
            height: 0,
            time: '2023-6-25',
          },
          {
            longitude: 123.529231,
            latitude: 34.788612,
            height: 0,
            time: '2023-6-28',
          },
        ],
        type: '3dtiles'
      }
    },
    extraSchema: {},
    relateModel: undefined,
  },
  {
    id: '普京',
    name: '普京',
    iconUrl: IconList.Crosshair,
    baseInfo: {
      position: [113.629231, 34.786612],
      isAreaTarget: true,
      area: {
        areaNum: '123',
        areaUnit: 'm²',
      },
      belongToCountryArea: '123',
      lastModifyUser: 'lqd',
      imgList: [],
      isFixedTarget: true,
      // areaPosition:[],
    },
    catalog: {
      name: '关键人物',
      id: '关键人物',
    },
    createDate: mockjs.Random.date(),
    extraInfo: {
      data: {
        meta: {
          url: 'models/walk.gltf'
        },
        data: [
          {
            longitude: 50.524231,
            latitude: 34.781612,
            height: 0,
            time: '2023-6-5',
          },
          {
            longitude: 73.525231,
            latitude: 34.782612,
            height: 0,
            time: '2023-6-9',
          },
          {
            longitude: 93.526231,
            latitude: 34.783612,
            height: 0,
            time: '2023-6-15',
          },
          {
            longitude: 103.527231,
            latitude: 34.784612,
            height: 0,
            time: '2023-6-20',
          },
          {
            longitude: 113.529231,
            latitude: 34.786612,
            height: 0,
            time: '2023-6-25',
          },
          {
            longitude: 123.529231,
            latitude: 34.788612,
            height: 0,
            time: '2023-6-28',
          },
        ],
        type: 'man'
      }
    },
    extraSchema: {},
    relateModel: undefined,
  },
  {
    id: '捕食者无人机',
    name: '捕食者无人机',
    iconUrl: IconList.Crosshair,
    baseInfo: {
      position: [113.729231, 34.786612],
      isAreaTarget: true,
      area: {
        areaNum: '123',
        areaUnit: 'm²',
      },
      belongToCountryArea: '123',
      lastModifyUser: 'lqd',
      imgList: [],
      isFixedTarget: true,
      // areaPosition:[],
    },
    catalog: {
      name: '飞机',
      id: '飞机',
    },
    createDate: mockjs.Random.date(),
    extraInfo: {
      data: {
        meta: {
          url: 'models/mqwrj.glb'
        },
        data: [
          {
            longitude: 50.524231,
            latitude: 34.781612,
            height: 0,
            time: '2023-6-5',
          },
          {
            longitude: 73.525231,
            latitude: 34.782612,
            height: 0,
            time: '2023-6-9',
          },
          {
            longitude: 93.526231,
            latitude: 34.783612,
            height: 0,
            time: '2023-6-15',
          },
          {
            longitude: 103.527231,
            latitude: 34.784612,
            height: 0,
            time: '2023-6-20',
          },
          {
            longitude: 113.529231,
            latitude: 34.786612,
            height: 0,
            time: '2023-6-25',
          },
          {
            longitude: 123.529231,
            latitude: 34.788612,
            height: 0,
            time: '2023-6-28',
          },
        ],
        type: 'drone'
      }
    },
    extraSchema: {},
    relateModel: undefined,
  },
  {
    id: '乌克兰影像',
    name: '乌克兰影像',
    iconUrl: IconList.Crosshair,
    baseInfo: {
      position: [113.829231, 34.786612],
      isAreaTarget: true,
      area: {
        areaNum: '123',
        areaUnit: 'm²',
      },
      belongToCountryArea: '123',
      lastModifyUser: 'lqd',
      imgList: [],
      isFixedTarget: true,
      // areaPosition:[],
    },
    catalog: {
      name: '卫星影像',
      id: '卫星影像',
    },
    createDate: mockjs.Random.date(),
    extraInfo: {
      data: {
        meta: {
          url: 'https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
          range: [{ lng: 112.82952746128707, lat: 34.79838865917642, alt: 0 },
          { lng: 114.29981743816764, lat: 34.79838865917643, alt: 0 },
          { lng: 114.29981743816762, lat: 33.98199126111562, alt: 0 },
          { lng: 112.82952746128707, lat: 33.98199126111562, alt: 0 }],
        },
        data: [
          {
            longitude: 50.524231,
            latitude: 34.781612,
            height: 0,
            time: '2023-6-5',
          },
          {
            longitude: 73.525231,
            latitude: 34.782612,
            height: 0,
            time: '2023-6-9',
          },
          {
            longitude: 93.526231,
            latitude: 34.783612,
            height: 0,
            time: '2023-6-15',
          },
          {
            longitude: 103.527231,
            latitude: 34.784612,
            height: 0,
            time: '2023-6-20',
          },
          {
            longitude: 113.529231,
            latitude: 34.786612,
            height: 0,
            time: '2023-6-25',
          },
          {
            longitude: 123.529231,
            latitude: 34.788612,
            height: 0,
            time: '2023-6-28',
          },
        ],
        type: 'man'
      }
    },
    extraSchema: {},
    relateModel: undefined,
  },
]

export {datalist}